public class CeshiTest {
    public static void main(String[] args) {
        CarFdj fdj=new CarFdj();
        fdj.pailiang="4.5升";
        fdj.gangshu=8;
        fdj.mali=650;
        fdj.zhongliang=150;
        fdj.pinpai="法拉利";
        System.out.println("发动机的品牌是："+fdj.pinpai);
        System.out.println("发动机的排量是："+fdj.pailiang);
        System.out.println("发动机的缸数是："+fdj.gangshu+"缸");
        System.out.println("发动机的马力是："+fdj.mali+"马力");
        System.out.println("发动机的重量是："+fdj.zhongliang+"kg");
    }
}
class CarFdj {
    String pailiang;
    int mali;
    String pinpai;
    double zhongliang;
    int gangshu;
}
